package com.lxw.study.structural.flyweight;

public class Client {

    public static void main(String[] args) {
        StringBuilder content = new StringBuilder()
                .append(CharFactory.getCharacter('H'))
                .append(CharFactory.getCharacter('e'))
                .append(CharFactory.getCharacter('l'))
                .append(CharFactory.getCharacter('l'))
                .append(CharFactory.getCharacter('o'));
        System.out.println("content = " + content);

    }
}
